Optimal. Leaf size=85 \[ -\frac {\left (c d^2-a e^2\right )^2}{2 c^3 d^3 (a e+c d x)^2}-\frac {2 e \left (c d^2-a e^2\right )}{c^3 d^3 (a e+c d x)}+\frac {e^2 \log (a e+c d x)}{c^3 d^3} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.05, antiderivative size = 85, normalized size of antiderivative = 1.00, number of steps
used = 3, number of rules used = 2, integrand size = 35, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.057, Rules used = {640, 45}
\begin {gather*} \frac {e^2 \log (a e+c d x)}{c^3 d^3}-\frac {2 e \left (c d^2-a e^2\right )}{c^3 d^3 (a e+c d x)}-\frac {\left (c d^2-a e^2\right )^2}{2 c^3 d^3 (a e+c d x)^2} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 45
Rule 640
Rubi steps
\begin {align*} \int \frac {(d+e x)^5}{\left (a d e+\left (c d^2+a e^2\right ) x+c d e x^2\right )^3} \, dx &=\int \frac {(d+e x)^2}{(a e+c d x)^3} \, dx\\ &=\int \left (\frac {\left (c d^2-a e^2\right )^2}{c^2 d^2 (a e+c d x)^3}+\frac {2 \left (c d^2 e-a e^3\right )}{c^2 d^2 (a e+c d x)^2}+\frac {e^2}{c^2 d^2 (a e+c d x)}\right ) \, dx\\ &=-\frac {\left (c d^2-a e^2\right )^2}{2 c^3 d^3 (a e+c d x)^2}-\frac {2 e \left (c d^2-a e^2\right )}{c^3 d^3 (a e+c d x)}+\frac {e^2 \log (a e+c d x)}{c^3 d^3}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.02, size = 65, normalized size = 0.76 \begin {gather*} \frac {-\frac {\left (c d^2-a e^2\right ) \left (3 a e^2+c d (d+4 e x)\right )}{(a e+c d x)^2}+2 e^2 \log (a e+c d x)}{2 c^3 d^3} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.81, size = 95, normalized size = 1.12
method | result | size |
risch | \(\frac {\frac {2 e \left (e^{2} a -c \,d^{2}\right ) x}{c^{2} d^{2}}+\frac {3 a^{2} e^{4}-2 a c \,d^{2} e^{2}-c^{2} d^{4}}{2 c^{3} d^{3}}}{\left (c d x +a e \right )^{2}}+\frac {e^{2} \ln \left (c d x +a e \right )}{c^{3} d^{3}}\) | \(90\) |
default | \(\frac {2 e \left (e^{2} a -c \,d^{2}\right )}{c^{3} d^{3} \left (c d x +a e \right )}+\frac {e^{2} \ln \left (c d x +a e \right )}{c^{3} d^{3}}-\frac {a^{2} e^{4}-2 a c \,d^{2} e^{2}+c^{2} d^{4}}{2 c^{3} d^{3} \left (c d x +a e \right )^{2}}\) | \(95\) |
norman | \(\frac {\frac {\left (3 a^{2} e^{6}-3 c^{2} d^{4} e^{2}\right ) x}{c^{3} d^{2} e}+\frac {3 a^{2} e^{4}-2 a c \,d^{2} e^{2}-c^{2} d^{4}}{2 c^{3} d}+\frac {\left (3 a^{2} e^{8}+6 a c \,d^{2} e^{6}-9 d^{4} e^{4} c^{2}\right ) x^{2}}{2 c^{3} d^{3} e^{2}}+\frac {2 \left (a \,e^{6}-c \,d^{2} e^{4}\right ) x^{3}}{c^{2} d^{2} e}}{\left (c d x +a e \right )^{2} \left (e x +d \right )^{2}}+\frac {e^{2} \ln \left (c d x +a e \right )}{c^{3} d^{3}}\) | \(179\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.30, size = 103, normalized size = 1.21 \begin {gather*} -\frac {c^{2} d^{4} + 2 \, a c d^{2} e^{2} - 3 \, a^{2} e^{4} + 4 \, {\left (c^{2} d^{3} e - a c d e^{3}\right )} x}{2 \, {\left (c^{5} d^{5} x^{2} + 2 \, a c^{4} d^{4} x e + a^{2} c^{3} d^{3} e^{2}\right )}} + \frac {e^{2} \log \left (c d x + a e\right )}{c^{3} d^{3}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 2.83, size = 121, normalized size = 1.42 \begin {gather*} -\frac {4 \, c^{2} d^{3} x e + c^{2} d^{4} - 4 \, a c d x e^{3} + 2 \, a c d^{2} e^{2} - 3 \, a^{2} e^{4} - 2 \, {\left (c^{2} d^{2} x^{2} e^{2} + 2 \, a c d x e^{3} + a^{2} e^{4}\right )} \log \left (c d x + a e\right )}{2 \, {\left (c^{5} d^{5} x^{2} + 2 \, a c^{4} d^{4} x e + a^{2} c^{3} d^{3} e^{2}\right )}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A]
time = 0.31, size = 109, normalized size = 1.28 \begin {gather*} \frac {3 a^{2} e^{4} - 2 a c d^{2} e^{2} - c^{2} d^{4} + x \left (4 a c d e^{3} - 4 c^{2} d^{3} e\right )}{2 a^{2} c^{3} d^{3} e^{2} + 4 a c^{4} d^{4} e x + 2 c^{5} d^{5} x^{2}} + \frac {e^{2} \log {\left (a e + c d x \right )}}{c^{3} d^{3}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 1.03, size = 88, normalized size = 1.04 \begin {gather*} \frac {e^{2} \log \left ({\left | c d x + a e \right |}\right )}{c^{3} d^{3}} - \frac {4 \, {\left (c d^{2} e - a e^{3}\right )} x + \frac {c^{2} d^{4} + 2 \, a c d^{2} e^{2} - 3 \, a^{2} e^{4}}{c d}}{2 \, {\left (c d x + a e\right )}^{2} c^{2} d^{2}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 0.09, size = 106, normalized size = 1.25 \begin {gather*} \frac {e^2\,\ln \left (a\,e+c\,d\,x\right )}{c^3\,d^3}-\frac {\frac {-3\,a^2\,e^4+2\,a\,c\,d^2\,e^2+c^2\,d^4}{2\,c^3\,d^3}-\frac {2\,e\,x\,\left (a\,e^2-c\,d^2\right )}{c^2\,d^2}}{a^2\,e^2+2\,a\,c\,d\,e\,x+c^2\,d^2\,x^2} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________